BackgroundServiceEvent

data class BackgroundServiceEvent(timestamp: TimeSinceEpoch, origin: String, serviceWorkerRegistrationId: RegistrationID, service: ServiceName, eventName: String, instanceId: String, eventMetadata: List<EventMetadata>)

Constructors

BackgroundServiceEvent
Link copied to clipboard
fun BackgroundServiceEvent(timestamp: TimeSinceEpoch, origin: String, serviceWorkerRegistrationId: RegistrationID, service: ServiceName, eventName: String, instanceId: String, eventMetadata: List<EventMetadata>)

Properties

eventMetadata
Link copied to clipboard
val eventMetadata: List<EventMetadata>
A list of event-specific information.
eventName
Link copied to clipboard
val eventName: String
A description of the event.
instanceId
Link copied to clipboard
val instanceId: String
An identifier that groups related events together.
origin
Link copied to clipboard
val origin: String
The origin this event belongs to.
service
Link copied to clipboard
val service: ServiceName
The Background Service this event belongs to.
serviceWorkerRegistrationId
Link copied to clipboard
val serviceWorkerRegistrationId: RegistrationID
The Service Worker ID that initiated the event.
timestamp
Link copied to clipboard
val timestamp: TimeSinceEpoch
Timestamp of the event (in seconds).

Sources

jvm source
Link copied to clipboard